const fs = require('fs');
const readable = fs.createReadStream('text.txt');
readable.on('data', (chunk) => {
    console.log('Got %d bytes of data', chunk.length);
});
readable.on('end', () => {
    console.log('There will be no more data.');
});
